package com.rem.springboot2.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author Rem
 * @date 2021-03-23
 */

@Controller
public class My5ViewTestController {

    @GetMapping("/rem")
    public String success(Model model) {
        model.addAttribute("msg", "你好 rem");
        model.addAttribute("link", "https:/www.baidu.com");

        return "success";
    }

}
